package com.fy.fyzf.dialog;

import android.content.Context;
import android.view.Gravity;
import android.view.View;
import android.widget.EditText;
import android.widget.TextView;

import com.fy.fyzf.R;

public class AddOwnerdialog extends BaseDialog{

    public EditText etName;
    public EditText etTel;
    public EditText etRemark;

    public AddOwnerdialog(Context mContext) {
        super(mContext, R.layout.dialog_add_owner, Gravity.CENTER, true);
        init();
    }

    private void init() {

        etName = getView(R.id.et_name);
        etTel = getView(R.id.et_tel);
        etRemark = getView(R.id.et_remark);

        getView(R.id.tv_cancel).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                toggleDialog();
            }
        });


    }


}
